<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Art-Mall</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${request.contextPath}/statics/plugins/layui/css/layui.css" media="all">
  <!--  <link rel="stylesheet" href="${request.contextPath}/statics/style/admin.css" media="all">-->
      <link rel="stylesheet" href="${request.contextPath}/statics/css/index.css" media="all">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-form layui-card-header body-header">
            <div class="layui-form-item">


                <div class="layui-inline">
                    <select name="artTypeId" lay-filter="selectKeys">
                      <option value="">艺术品类别</option>

                       <!-- {{# layui.each(d.list, function(index, item){ }}
                            <option value="">{{item.artTypeName}}</option>
                            {{console.log(item.artTypeId +','+item.artTypeName)}}
                        {{#  }); }}
                        {{#  if(d.list.length === 0){ }}
                            无数据
                        {{#  } }}-->
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="searchKey">
                        <option value="">搜索条件</option>
                        <option value="icdn">艺术品数字身份证</option>
                        <option value="artName">艺术品名称</option>
                    </select>
                </div>
                <div class="layui-inline">
                    <input type="text" name="searchValue" placeholder="请输入..." autocomplete="off" class="layui-input">
                </div>
                <div class="layui-inline">
                    <select name="status">
                        <option value="">当前状态</option>
                        <option value="0">已上架</option>
                        <option value="1">未上架</option>
                    </select>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn" lay-submit lay-filter="lay-submit-search">
                        <i class="layui-icon layui-icon-search lay-button-btn"></i>
                        搜索
                    </button>
                </div>

            </div>
        </div>

        <div class="layui-card-body">

            <div style="padding-bottom: 10px;">
                <button class="layui-btn ud-btn" data-type="add">
                    <i class="layui-icon layui-icon-add-1 lay-button-btn"></i>
                    艺术品入库申请
                </button>
            </div>

            <table id="lay-tab" lay-filter="lay-tab"></table>

            <script type="text/html" id="art-status">
                <input type="checkbox" name="open" lay-skin="switch" value="{{d.artInfo.status}}"
                       lay-filter="status_filter" lay-text="已上架|未上架" {{d.artInfo.status==0?'checked':''}}>
            </script>

            <script type="text/html" id="table-operation">
                <a class="layui-btn  layui-btn-xs" lay-event="details"><i class="layui-icon layui-icon-list"></i>详细信息</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="add"><i class="layui-icon layui-icon-add-circle-fine"></i>申请采集信息</a>
            </script>
        </div>

    </div>
</div>

<script src="${request.contextPath}/statics/plugins/layui/layui.js"></script>

<script>

    layui.config({
        base : '${request.contextPath}/statics/modules/' //静态资源所在路径
    }).extend({
        index : 'index',
        icdnlist : 'art/icdnlist'
    }).use(['index','icdnlist', 'table']);

</script>
</body>
</html>
